package com.binfenhulian.chinaenergy.ces.crawler.core.db.dao.def;

import com.binfenhulian.chinaenergy.ces.crawler.core.db.po.auto.ContentRecordPO;
import com.binfenhulian.chinaenergy.ces.crawler.core.db.po.def.AccountPO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by wanghjbuf on 2018/3/10.
 */
@Mapper
@Repository
public interface ContentRecordDefDAO {

    /**
     * 批量插入
     * @param contentRecordPOList
     * @return
     */
    int insertBatch(List<ContentRecordPO> contentRecordPOList);

    /**
     * 通过url批量更新发信时间
     * @param urls
     * @return
     */
    int updateBatchByUrlForDiscoveryTime(List<String> urls);
}
